<div>
	<div class="header">
		<a href="javascript:pageload{{identify}}();" class="btn btnleft">刷新</a>
		<h1>{{headerName}}</h1>
		<a href="#purchasecreate" class="btn btnright">发布</a>
	</div>
	<div class="content">
		<div style="margin:5px;">
		<form role="form">
			<div class="form-group" style="margin-bottom:0px;">
				<input type="text" class="form-control" id="search" placeholder="产品关键字（至少两个）">
			</div>
		</form>
		</div>
		<div class="scroller" style="margin:4px;">
			<ul class="list" id="mypurchaselist{{identify}}">
			</ul>
		</div>
	</div>
	<div class="footer">
		<div class="row">
			<div class="col-xs-3"><a href="#guidepage"><div class="icon icon-green"></div><div>绿色通道</div></a></div>
			<div class="col-xs-3 persist"><a href="#marketpage"><div class="icon icon-sale-persist"></div><div>逛逛市场</div></a></div>
			<div class="col-xs-3"><a href="#parterpage"><div class="icon icon-parter"></div><div>我的伙计</div></a></div>
			<div class="col-xs-3"><a href="#userpage"><div class="icon icon-user"></div><div>用户中心</div></a></div>
		</div>
	</div>
	<script type="text/javascript">
	function pageload{{identify}}() {
		Global.loading();
		$.ajax({
			type: 'GET',
	    	url: GLOBAL_CONTEXT_PATH + '/purchase/listJsonItems.html?_=' + new Date().getTime(),
	    	dataType: 'json',
	    	crossDomain: true,
	    	processData: true,
	    	success: function (data){
	    		$('#mypurchaselist{{identify}}').html(Global.loadFragment('purchaselistitems', data));
	            Global.setItem("purchaselistitems", data);
	    		Global.loaded();
	    	},
	    	error:function(msg) {
	    		if (!app.checkConnection()) {
	    		}
	    		$('#mypurchaselist{{identify}}').html(Global.loadFragment('purchaselistitems', Global.getItem("purchaselistitems")));
	    		Global.loaded();
	    	}
		});
	}
	pageload{{identify}}();
	<{{!}}/script>
</div>